package com.apollo.springboot;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author: LiuWei
 * @date: Create in 9:48 2018/08/07
 */
@SpringBootApplication
@EnableApolloConfig({"MYTEST"})
@ComponentScan(basePackages = {"com.ctrip.framework", "com.apollo"})
public class SpringBootDemo {
    public static void main(String[] args) {
        System.setProperty("env", "DEV");
        SpringApplication.run(SpringBootDemo.class, args);
    }
}
